{config_load file=info.conf section="links"}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{#title#}</title>
{#js_query#}{#css_login#}
</head>
<body>
<div class="w">
    <div id="logo"><a href="#"><img src="../images/logo.gif" alt="上海隆鹰" width="180" height="70"></a>
	<b><img src="../images/login-word.png" alt="京东" width="119" height="46"></b></div>
</div>
<div class=" w2">{#title#}铁路运价查询系统</div>
    <div class=" w1" id="entry">
        <div class="mc " id="bgDiv">
            <div id="entry-bg" style="width: 435px; height: 354px; background-image: url(../images/main.jpg); background-position: 0px 0px; background-repeat: no-repeat no-repeat;">  
            </div>
            <div class="form ">
                <div class="item fore1">
                    <span>用户名</span>
                    <div class="item-ifo">
                        <input type="text" id="loginname" class="text" value="" tabindex="1" autocomplete="off">
                    </div>
                </div>
                <div class="item fore2">
                    <span>密码</span>

                    <div class="item-ifo">
                        <input type="password" id="nloginpwd" class="text" tabindex="2" autocomplete="off">
                        <label id="loginpwd_error" class="error" style="display: none;"></label>
                    </div>
                </div>
                <div class="btn-entry" onclick="login();"></div>
            </div>
            <div class="coagent">
           		<span>【最新信息】:</span><a href="/bulletin/bl_all.php"> 查看更多...</a><br/>
	            {section name=results loop=$userdata}
	            <div class="gghis">
	                <img src="../images/mbg_7.png"><a href="/bulletin/bl_view.php?i={$userdata[results].id}">
	                <span>{$userdata[results].title|split_str:34}</span></a> {$userdata[results].creattime}
	            </div>
	            {/section}
            </div>
        </div>
        <div class="free-regist">
            <span><a href="register.php" >免费注册&gt;&gt;</a></span>
        </div>
    </div>

<div class="w">
    <div id="footer-2013">
        <div class="links"></div>
        <div class="copyright"> 
        	在线咨询：<img  style="CURSOR: pointer" onclick="javascript:window.open('http://bizapp.qq.com/webc.htm?new=0&sid=706255527&eid=&o=上海隆鹰国际物流有限公司铁路运价查询系统&q=7&ref='+document.location, '_blank', 'height=544, width=644,toolbar=no,scrollbars=no,menubar=no,status=no');"  border="0" SRC="http://im.bizapp.qq.com:8000/zx_qq.gif"/>
           <br>
        	上海市控江路2200号D座2302室 TEL:021-51872290 FAX:021-51862950 
          <br>
        	© 上海隆鹰 2013. All rights reserved.
        </div>
    </div>
</div>
</body>
</html>
{literal}
<script type="text/javascript">
function login(){
	var nick=encodeURIComponent($.trim($("#loginname").attr("value")));
	var pw=encodeURIComponent($.trim($("#nloginpwd").attr("value")));
	var params ={act:"login",nick:nick,pw:pw};	
	$.post('login.php',params,function(data) {
		if(data=="100"){
			$("#loginpwd_error").css("display","none");
			window.location ="../railway/list.php"
		}else{
			$("#loginpwd_error").css("display","inline");
			$("#loginpwd_error").html("您输入的账户名和密码不匹配，请重新输入");
		}
	});		
}
</script>
{/literal}